package hong.jun.fallback;
import hong.jun.FeignClient.OrderFeignClient;
import hong.jun.domain.User;
import org.springframework.stereotype.Component;
import sun.misc.Contended;

@Component
public class OrderFeignClientFallback implements OrderFeignClient {


    @Override
    public User touser(long id) {
        return new User(id,"去登录啊");
    }
}
